<%@ page 
language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false"%><%@
taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%><%@
taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%><%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<c:if test="${!empty msg }">
<font color="red">${msg }</font>
</c:if>
<form action='<c:url value="/addToken"/>' method="post">
<label>appId:</label><input name="atoken.id" type="text" value="${ftoken.id }"/><br/>
<label>appSecret:</label><input name="atoken.secret" type="password" value="${ftoken.secret }"/><br/>
<label>userId</label><input name="atoken.userId" type="text" value="${ftoken.userId }"/><br/>
<label>remark</label><input name="atoken.remark" type="text" value="${ftoken.remark }"/><br/>
<input type="submit" value="添加"/>
</form>
</body>
</html>